package com.whg.nginx.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author whg
 * @create 2023/7/12 15:27
 * @description：
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/getName")
    public Object getName(){
        System.out.println("the request in here");
        return "this is demo one";
    }
}
